const express = require('express');
const router = express.Router();
const configController = require('../controllers/config');

// 获取系统配置
router.get('/', configController.getConfig);

// 更新系统配置
router.put('/', configController.updateConfig);

// 获取API密钥配置
router.get('/api-keys', configController.getApiKeys);

// 更新API密钥配置
router.put('/api-keys', configController.updateApiKeys);

module.exports = router;